﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Domain;

namespace Dao.Interface
{
    public interface INoteBookRepository : IRepository<NoteBook>
    {
        /// <summary>
        /// 获取笔记本集合
        /// </summary>
        /// <param name="userID">用户ID</param>
        /// <returns></returns>
        IList<NoteBook> LoadAllNoteBook(object userID);

        /// <summary>
        /// 获取笔记本集合
        /// </summary>
        /// <param name="userID">用户ID</param>
        /// <param name="delete">是否删除</param>
        /// <returns></returns>
        IList<NoteBook> LoadAllNoteBook(object userID, bool delete);

        /// <summary>
        /// 获取笔记本集合
        /// </summary>
        /// <returns></returns>
        IList<NoteBook> LoadAllShareNoteBook();

        /// <summary>
        /// 根据用户ID获取笔记本集合
        /// </summary>
        /// <param name="userID">用户ID</param>
        /// <param name="share">是否共享</param>
        /// <returns></returns>
        IList<NoteBook> LoadAllShareNoteBook(object userID, bool share);

    }
}
